<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">确认</h4>
            </div>
            <div class="modal-body">
                是否确认？
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" ng-click="ok()">确认</button>
            </div>
        </div>
    </div>
</div>
<!--导航栏-->
<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                                                                                    rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/admin">首页</a>
                </li>
                <li class="active">实时指标配置列表</li>
            </ul>
        </div>
    </div>
</div>

<div class="container-fluid">
    <div style="margin: 0 20px 10px 0; float: right;">
        <label>主要bibcp-counter进行配置管理，将数据influxdb进行grafana配置和监控</label>
    </div>
    <div style="margin: 10px">
        <div class="row">
            <div class="col-sm-12 col-md-12 main" style="float: right">
                <h3 class="sub-header" style="display:inline-block">实时指标配置列表</h3>
                <a class="btn btn-primary btn-sm" href="#/star/metric/rt_metric_sync_config" role="button">新建</a>
                <table id="list_table" class="table table-condensed"
                       data-toolbar="#toolbar"
                       data-search="true"
                       data-show-toggle="true"
                       data-show-columns="true"
                       data-show-pagination-switch="true"
                       data-pagination="true"
                       data-search-align="left"
                       data-buttons-align="left"
                       data-toolbar-align="left"
                       data-side-pagination="client">
                    <thead>
                    <tr>
                        <th data-field="id" data-sortable="true" data-formatter="rtMetricConfigOptFormat">操作</th>
                        <th data-field="SerialNumber" data-sortable="true" data-formatter="serialFormatter">序号</th>
                        <th data-field="tableId" data-sortable="true" >WtableID</th>
                        <th data-field="keyExpress" data-sortable="true">Key表达式</th>
                        <th data-field="interval" data-sortable="true" >计算周期（分钟）</th>
                        <th data-field="colKey" data-sortable="true" >HKey名称</th>
                        <th data-field="isEnable" data-sortable="true" data-formatter="enableFormatter">启用状态</th>
                        <th data-field="updateTime" data-sortable="true">更新时间</th>
                        <th data-field="createTime" data-sortable="true">创建时间</th>
                    </tr>
                    </thead>
                </table>
            </div>
        </div>
    </div>
</div>
